Release 10.1A: OpenEdge Development:
Java Open Clients
Methods
The
ProDataRelationMetaDataclass provides the following methods.setColumns( )
Specifies the column properties that are to participate in primary-foreign key relationships between the parent and child tables of this ProDataRelationMetaData object, as specified by the overloaded methods:
parentColIdxSpecifies the 0-based index of a single column property in the parent
ProDataObjecttype to use as the primary key.childColIdxSpecifies the 0-based index of a single column property in the child
ProDataObjecttype to use as the foreign key.parentColIdxsSpecifies an array of 0-based indexes to column properties in the parent
ProDataObjecttype to use as the primary key.childColIdxsSpecifies an array of 0-based indexes to column properties in the child
ProDataObjecttype to use as the foreign key.When specifying
parentColIdxsandchildColIdxs, the arrays must be the same length. For either overloading, the corresponding parent and child column properties must be comparable.getParentColumns( )
Returns the 0-based indexes of the parent table column properties for this ProDataRelationMetaData object:
getChildColumns( )
Returns the 0-based indexes of the child table column properties for this ProDataRelationMetaData object:
getParentTable( )
Returns the name of the parent table for this ProDataRelationMetaData object:
getChildTable( )
Returns the name of the child table for this ProDataRelationMetaData object:
getRelationName( )
Returns the name of this ProDataRelationMetaData object:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |